projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a485df
)
(detect_coding): Fix previous change.
author
Kenichi Handa
<handa@m17n.org>
Thu, 5 Jun 2008 11:35:10 +0000
(11:35 +0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 5 Jun 2008 11:35:10 +0000
(11:35 +0000)
(detect_coding_system): Likewise.
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index 3ee2a7248cfbaa3c891a990742a9ce3561769308..56dd5d5b803707a34b15f3dad0f21960049ee1df 100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-5830,9
+5830,10
@@
detect_coding (coding)
if (eight_bit_found)
break;
}
- coding->head_ascii++;
+ if (! eight_bit_found)
+ coding->head_ascii++;
}
- else
+ else
if (! eight_bit_found)
coding->head_ascii++;
}
@@
-7707,9
+7708,10
@@
detect_coding_system (src, src_chars, src_bytes, highest, multibytep,
if (eight_bit_found)
break;
}
- coding.head_ascii++;
+ if (! eight_bit_found)
+ coding.head_ascii++;
}
- else
+ else
if (! eight_bit_found)
coding.head_ascii++;
}